package com.ruoyi.electronicFence.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 电子围栏报警信息对象 t_ef_alarms
 *
 * @author sxygsj
 * @date 2024-05-17
 */
@Data
public class TEfAlarms extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long idId;

    /** 单位编号 */
    @Excel(name = "单位编号")
    private String unitCode;

    /** 报警级别 5:紧急 4:严重 3:警告 2:次要 1:提示 */
    @Excel(name = "报警级别 5:紧急 4:严重 3:警告 2:次要 1:提示")
    private String alarmLevel;

    /** 报警时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "报警时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date alarmTime;

    /** 报警类型名称 */
    @Excel(name = "报警类型名称")
    private String alarmTypeName;

    /** 设备ID */
    @Excel(name = "设备ID")
    private String deviceId;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String deviceName;

    /** 报警类型 */
    @Excel(name = "报警类型")
    private String alarmType;

    /** 组织索引 */
    @Excel(name = "组织索引")
    private String orgIndex;

    /** 组织名称 */
    @Excel(name = "组织名称")
    private String orgName;

    /** ID */
    private Long id;

    /** 事件类型 */
    @Excel(name = "事件类型")
    private String eventType;

    /** 事件ID */
    @Excel(name = "事件ID")
    private String eventId;

    /** 审批状态 */
    @Excel(name = "审批状态")
    private String approve;

    /** 审批意见 1-正报 2-误报 */
    @Excel(name = "审批意见 1-正报 2-误报")
    private String opinion;

    /** 处理时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "处理时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date handleTime;

    /** 视频时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "视频时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date videoTime;

    /** 图片URL */
    @Excel(name = "图片URL")
    private String pictureUrl;

    /** 图片URL(HTTP) */
    @Excel(name = "图片URL(HTTP)")
    private String httpUrl;

    /** 报警地点 */
    @Excel(name = "报警地点")
    private String alarmLocation;

    /** 解除报警时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "解除报警时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date contactAlarmTime;

    /** 处理开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "处理开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date processingStartTime;

    /** 处理预计结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "处理预计结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date processingEndTime;

    /** 报警设备 */
    @Excel(name = "报警设备")
    private String alarmDevice;

    /** 报警提示方式 */
    @Excel(name = "报警提示方式")
    private String alarmPromptMode;

    /** 报警提示音 */
    @Excel(name = "报警提示音")
    private String alarmTone;

    /** 报警原因 */
    @Excel(name = "报警原因")
    private String alarmReason;

    /** 报警处置信息 */
    @Excel(name = "报警处置信息")
    private String alarmDisposalInfo;

    /** 处置反馈信息 */
    @Excel(name = "处置反馈信息")
    private String disposalFeedbackInfo;

    /** 删除标志 */
    @Excel(name = "删除标志")
    private Integer delFlag;

    /** 处理状态 1-未处理 2-处理中 3-已处理 */
    @Excel(name = "处理状态 1-未处理 2-处理中 3-已处理")
    private String handleStatus;

    /** 报警发送标记 0-未发送 1-已发送 */
    @Excel(name = "报警发送标记 0-未发送 1-已发送")
    private Integer alarmSendingMark;

    /** 是否报备 0-未报备 1-已报备 */
    @Excel(name = "是否报备 0-未报备 1-已报备")
    private String filter;


    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Long getIdId() {
        return idId;
    }

    public void setIdId(Long idId) {
        this.idId = idId;
    }

    public String getUnitCode() {
        return unitCode;
    }

    public void setUnitCode(String unitCode) {
        this.unitCode = unitCode;
    }

    public String getAlarmLevel() {
        return alarmLevel;
    }

    public void setAlarmLevel(String alarmLevel) {
        this.alarmLevel = alarmLevel;
    }

    public Date getAlarmTime() {
        return alarmTime;
    }

    public void setAlarmTime(Date alarmTime) {
        this.alarmTime = alarmTime;
    }

    public String getAlarmTypeName() {
        return alarmTypeName;
    }

    public void setAlarmTypeName(String alarmTypeName) {
        this.alarmTypeName = alarmTypeName;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public String getAlarmType() {
        return alarmType;
    }

    public void setAlarmType(String alarmType) {
        this.alarmType = alarmType;
    }

    public String getOrgIndex() {
        return orgIndex;
    }

    public void setOrgIndex(String orgIndex) {
        this.orgIndex = orgIndex;
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getEventType() {
        return eventType;
    }

    public void setEventType(String eventType) {
        this.eventType = eventType;
    }

    public String getEventId() {
        return eventId;
    }

    public void setEventId(String eventId) {
        this.eventId = eventId;
    }

    public String getApprove() {
        return approve;
    }

    public void setApprove(String approve) {
        this.approve = approve;
    }

    public String getOpinion() {
        return opinion;
    }

    public void setOpinion(String opinion) {
        this.opinion = opinion;
    }

    public Date getHandleTime() {
        return handleTime;
    }

    public void setHandleTime(Date handleTime) {
        this.handleTime = handleTime;
    }

    public Date getVideoTime() {
        return videoTime;
    }

    public void setVideoTime(Date videoTime) {
        this.videoTime = videoTime;
    }

    public String getPictureUrl() {
        return pictureUrl;
    }

    public void setPictureUrl(String pictureUrl) {
        this.pictureUrl = pictureUrl;
    }

    public String getHttpUrl() {
        return httpUrl;
    }

    public void setHttpUrl(String httpUrl) {
        this.httpUrl = httpUrl;
    }

    public String getAlarmLocation() {
        return alarmLocation;
    }

    public void setAlarmLocation(String alarmLocation) {
        this.alarmLocation = alarmLocation;
    }

    public Date getContactAlarmTime() {
        return contactAlarmTime;
    }

    public void setContactAlarmTime(Date contactAlarmTime) {
        this.contactAlarmTime = contactAlarmTime;
    }

    public Date getProcessingStartTime() {
        return processingStartTime;
    }

    public void setProcessingStartTime(Date processingStartTime) {
        this.processingStartTime = processingStartTime;
    }

    public Date getProcessingEndTime() {
        return processingEndTime;
    }

    public void setProcessingEndTime(Date processingEndTime) {
        this.processingEndTime = processingEndTime;
    }

    public String getAlarmDevice() {
        return alarmDevice;
    }

    public void setAlarmDevice(String alarmDevice) {
        this.alarmDevice = alarmDevice;
    }

    public String getAlarmPromptMode() {
        return alarmPromptMode;
    }

    public void setAlarmPromptMode(String alarmPromptMode) {
        this.alarmPromptMode = alarmPromptMode;
    }

    public String getAlarmTone() {
        return alarmTone;
    }

    public void setAlarmTone(String alarmTone) {
        this.alarmTone = alarmTone;
    }

    public String getAlarmReason() {
        return alarmReason;
    }

    public void setAlarmReason(String alarmReason) {
        this.alarmReason = alarmReason;
    }

    public String getAlarmDisposalInfo() {
        return alarmDisposalInfo;
    }

    public void setAlarmDisposalInfo(String alarmDisposalInfo) {
        this.alarmDisposalInfo = alarmDisposalInfo;
    }

    public String getDisposalFeedbackInfo() {
        return disposalFeedbackInfo;
    }

    public void setDisposalFeedbackInfo(String disposalFeedbackInfo) {
        this.disposalFeedbackInfo = disposalFeedbackInfo;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    public String getHandleStatus() {
        return handleStatus;
    }

    public void setHandleStatus(String handleStatus) {
        this.handleStatus = handleStatus;
    }

    public Integer getAlarmSendingMark() {
        return alarmSendingMark;
    }

    public void setAlarmSendingMark(Integer alarmSendingMark) {
        this.alarmSendingMark = alarmSendingMark;
    }

    public String getFilter() {
        return filter;
    }

    public void setFilter(String filter) {
        this.filter = filter;
    }

    public TEfAlarms() {
    }

    public TEfAlarms(Long idId, String unitCode, String alarmLevel, Date alarmTime, String alarmTypeName, String deviceId, String deviceName, String alarmType, String orgIndex, String orgName, Long id, String eventType, String eventId, String approve, String opinion, Date handleTime, Date videoTime, String pictureUrl, String httpUrl, String alarmLocation, Date contactAlarmTime, Date processingStartTime, Date processingEndTime, String alarmDevice, String alarmPromptMode, String alarmTone, String alarmReason, String alarmDisposalInfo, String disposalFeedbackInfo, Integer delFlag, String handleStatus, Integer alarmSendingMark, String filter) {
        this.idId = idId;
        this.unitCode = unitCode;
        this.alarmLevel = alarmLevel;
        this.alarmTime = alarmTime;
        this.alarmTypeName = alarmTypeName;
        this.deviceId = deviceId;
        this.deviceName = deviceName;
        this.alarmType = alarmType;
        this.orgIndex = orgIndex;
        this.orgName = orgName;
        this.id = id;
        this.eventType = eventType;
        this.eventId = eventId;
        this.approve = approve;
        this.opinion = opinion;
        this.handleTime = handleTime;
        this.videoTime = videoTime;
        this.pictureUrl = pictureUrl;
        this.httpUrl = httpUrl;
        this.alarmLocation = alarmLocation;
        this.contactAlarmTime = contactAlarmTime;
        this.processingStartTime = processingStartTime;
        this.processingEndTime = processingEndTime;
        this.alarmDevice = alarmDevice;
        this.alarmPromptMode = alarmPromptMode;
        this.alarmTone = alarmTone;
        this.alarmReason = alarmReason;
        this.alarmDisposalInfo = alarmDisposalInfo;
        this.disposalFeedbackInfo = disposalFeedbackInfo;
        this.delFlag = delFlag;
        this.handleStatus = handleStatus;
        this.alarmSendingMark = alarmSendingMark;
        this.filter = filter;
    }
}
